Optimal. Leaf size=126 \[ -\frac{2^p \left (-\frac{-\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}}\right )^{-p-1} \left (a+b x^2+c x^4\right )^{p+1} \, _2F_1\left (-p,p+1;p+2;\frac{2 c x^2+b+\sqrt{b^2-4 a c}}{2 \sqrt{b^2-4 a c}}\right )}{(p+1) \sqrt{b^2-4 a c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0757463, antiderivative size = 126, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {1107, 624} \[ -\frac{2^p \left (-\frac{-\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}}\right )^{-p-1} \left (a+b x^2+c x^4\right )^{p+1} \, _2F_1\left (-p,p+1;p+2;\frac{2 c x^2+b+\sqrt{b^2-4 a c}}{2 \sqrt{b^2-4 a c}}\right )}{(p+1) \sqrt{b^2-4 a c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1107
Rule 624
Rubi steps
\begin{align*} \int x \left (a+b x^2+c x^4\right )^p \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \left (a+b x+c x^2\right )^p \, dx,x,x^2\right )\\ &=-\frac{2^p \left (-\frac{b-\sqrt{b^2-4 a c}+2 c x^2}{\sqrt{b^2-4 a c}}\right )^{-1-p} \left (a+b x^2+c x^4\right )^{1+p} \, _2F_1\left (-p,1+p;2+p;\frac{b+\sqrt{b^2-4 a c}+2 c x^2}{2 \sqrt{b^2-4 a c}}\right )}{\sqrt{b^2-4 a c} (1+p)}\\ \end{align*}
Mathematica [A] time = 0.099281, size = 135, normalized size = 1.07 \[ \frac{2^{p-2} \left (-\sqrt{b^2-4 a c}+b+2 c x^2\right ) \left (\frac{\sqrt{b^2-4 a c}+b+2 c x^2}{\sqrt{b^2-4 a c}}\right )^{-p} \left (a+b x^2+c x^4\right )^p \, _2F_1\left (-p,p+1;p+2;\frac{-2 c x^2-b+\sqrt{b^2-4 a c}}{2 \sqrt{b^2-4 a c}}\right )}{c (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.059, size = 0, normalized size = 0. \begin{align*} \int x \left ( c{x}^{4}+b{x}^{2}+a \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{4} + b x^{2} + a\right )}^{p} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (c x^{4} + b x^{2} + a\right )}^{p} x, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{4} + b x^{2} + a\right )}^{p} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]